package com.lww.springcloudapi.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value = "TabHallUserpackage对象", description = "用户套餐实体")
public class TabHallUserpackage implements Serializable {
    @ApiModelProperty(value = "用户id")
    @TableId("id")
    private int id; //id

    @ApiModelProperty(value = "电话号码")
    @TableField("pnumber")
    private String  pnumber; //电话号码
    @ApiModelProperty(value = "流量(/m为单位)")
    @TableField("flow")
    private int  flow; //流量(/m为单位)
    @ApiModelProperty(value = "通话")
    @TableField("conversationtime")
    private int  conversationtime; //通话
    @ApiModelProperty(value = "短信")
    @TableField("message")
    private int  message; //短信
    @ApiModelProperty(value = "余额")
    @TableField("money")
    private double money;//余额
    @ApiModelProperty(value = "所属套餐")
    @TableField("setmealid")
    private int  setmealid; //所属套餐
}
